package com.yugao.fintech.vctgone.feign.config;

import com.yugao.fintech.vctgone.feign.intercepter.AutoAuthorizationRequestInterceptor;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;

@AutoConfiguration
public class FeignAutoConfiguration {
    @Bean
    public AutoAuthorizationRequestInterceptor autoAuthorizationRequestInterceptor() {
        return new AutoAuthorizationRequestInterceptor();
    }
}
